<?php

/**
 * HomeworkAssigment filter form.
 *
 * @package    elearning
 * @subpackage filter
 * @author     bttHang
 */
class HomeworkAssigmentFormFilter extends BaseHomeworkAssigmentFormFilter
{
  public function configure()
  {
  		
	//not display 
	unset( $this['created_at'], $this['updated_at']);
	//display
  	//$this->widgetSchema['hw_code'] = new sfWidgetFormFilterInput();
	$this->validatorSchema['cls_name'] = new sfValidatorPass(array('required' => false));
	$this->widgetSchema->setNameFormat('homeworkassigment_filters[%s]');
	$this->widgetSchema->setLabels(  
             array(  
                 'homework_id'      => 'Homework name ',  
                 'class_id'     => 'Class name',
				 'hwa_expired'  => 'Homework expired'
             )  
         );  
  }
}
